#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Math;
namespace Cephei.QL.Math.Optimization
{
    /// <summary> 
	/// ! Base constraint class
	/// </summary>
    [Guid ("AEB802D2-EFA6-420a-AEFB-CA552B562961"),ComVisible(true)]
	public interface IConstraint 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Boolean Empty {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Boolean Test(Cephei.QL.Math.IArray p);
        /// <summary> 
		/// 
		/// </summary>
		 Double Update(Cephei.QL.Math.IArray p, Cephei.QL.Math.IArray direction, Double beta);
    }   

    /// <summary> 
	/// ! Base constraint class Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IConstraint_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IConstraint Create ();
    }
}

